﻿do
	IGAS:NewAddon("IGAS_Studio")

	local _DB

	------------------------------------------------------------
	-- ScriptType
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.PlayerModel, "ScriptType")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Model, "ScriptType"))

	------------------------------------------------------------
	-- Function
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.PlayerModel, "Function")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Model, "Function"))

	_DB:AddCodeHelp("SetUnit", [=[Sets the model to display the 3D model of a specific unit]=], [=[SetUnit("unit")]=])
	_DB:AddCodeHelp("RefreshUnit", [=[Updates the model's appearance to match that of its unit]=], [=[RefreshUnit()]=])
	_DB:AddCodeHelp("SetRotation", [=[Sets the model's current rotation by animating the model]=], [=[SetRotation(facing)]=])
	_DB:AddCodeHelp("SetCreature", [=[Sets the model to display the 3D model of a specific creature]=], [=[SetCreature(creature)]=])
	------------------------------------------------------------
	-- Property
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.PlayerModel, "Property")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Model, "Property"))

end
